import request from "@/utils/request";

// 查询物料单位列表
export function listWlfz(data) {
  return request({
    url: "/material/grouping/list",
    method: "post",
    data,
  });
}
//新增
export function addWlfz(data) {
  return request({
    url: "/material/grouping",
    method: "post",
    data,
  });
}
//修改
export function editWlfz(data) {
  return request({
    url: "/material/grouping",
    method: "put",
    data,
  });
}
//修改
export function delWlfz(id) {
  return request({
    url: "/material/grouping/" + id,
    method: "delete",
  });
}
